package com.xjy.system.mapper;

import com.xjy.system.domain.SysCheckaccount;
import com.xjy.common.core.mybatisplus.core.BaseMapperPlus;
import com.xjy.common.core.mybatisplus.cache.MybatisPlusRedisCache;
import com.xjy.system.domain.vo.SysBaseCheckaccountRspVo;
import com.xjy.system.domain.vo.SysCheckaccountNextVo;
import com.xjy.system.domain.vo.SysCheckaccountVo;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 账户结账管理信息Mapper接口
 *
 * @author xjy
 * @date 2022-03-18
 */
// 如使需切换数据源 请勿使用缓存 会造成数据不一致现象
public interface SysCheckaccountMapper extends BaseMapperPlus<SysCheckaccount> {


	Integer check(@Param("projId") Long projId,@Param("date") Date date);

	SysCheckaccountNextVo queryCheckaccountNext(@Param("projId") Long projId);


	SysBaseCheckaccountRspVo checkDeposit(@Param("projId") Long projId);
	SysBaseCheckaccountRspVo checkCreditAdvance(@Param("projId") Long projId);
	SysBaseCheckaccountRspVo checkLoan(@Param("projId") Long projId);
	SysBaseCheckaccountRspVo checkReimbursement(@Param("projId") Long projId);
	SysBaseCheckaccountRspVo checkColpaydec(@Param("projId") Long projId);


}
